using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class OnlyTest2 : MonoBehaviour
{
    private void OnCollisionEnter(Collision other)
    {
        Debug.LogError("触发了collision事件 Son");
    }
    
    private void OnTriggerEnter(Collider other)
    {
        Debug.LogError("触发了trigger事件 Son");
    }
}
